package com.squid.base.common.annotation.format;

import jakarta.validation.Constraint;

import java.lang.annotation.*;

@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FormatValid {
    boolean phone() default false;

    boolean idCard() default false;

}
